package com.lac.component.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

/**
 * @author xiaokuixiao
 * date2025/7/15 11:12
 */
@Document(indexName = "test_index")
@Data
public class User {

    @Id
    private String id;
    private String name;
    private int age;

    // getters & setters
}

